<?php 
require_once 'Connection.php';
class Manager extends Connection{

    /**
     * @param $username
     * @return array
     */
    function get_user_by_username($username){
		$query = "SELECT * FROM user WHERE username='$username'";
		return $this->get_one_data($query);
	}	
		
}
?>